import request from '@/utils/request'

export function getBaseTrademark(page,limit) {
 
  return request({
    url: `/admin/product/baseTrademark/${page}/${limit}`,
    method: 'get',
  })
}

//添加數據的接口
export function reqUploadInfo(img,tn) {
  
  return request({
    url: `/admin/product/baseTrademark/save`,
    method: 'post',
    data:{
      logoUrl:img,
      tmName:tn
    }
  })
}

//刪除數據的接口
export function reqdeleteInfo(id) {
  return request({
    url: `/admin/product/baseTrademark/remove/${id}`,
    method: 'delete',
  })
}

//编辑数据接口
export function reqEditInfo() {
  return request({
    url: `/admin/product/baseTrademark/update`,
    method: 'put',
    data:{
      logoUrl:img,
      tmName:tn
    }
  })
}